package com.changzhou.chatroom.mapper;

import com.changzhou.chatroom.pojo.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface RegistMapper {


    @Insert("insert into user(username,password,user_id) values(#{username},#{password},#{userId})")
    void insert(User user);
}
